package com.lc.service.impl;

import com.lc.bean.UserPossword;
import com.lc.dao.UserpasswordMapper;
import com.lc.service.UserPasswordService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class UserPasswordServiceImpl implements UserPasswordService {
    @Autowired
    private UserpasswordMapper userpasswordMapper;
    @Override
    public UserPossword selectByuId(String uid) {
        return userpasswordMapper.selectByuId(uid);
    }

    @Override
    public boolean updatepwd(String uid) {
        return userpasswordMapper.updatepwd(uid);
    }

    @Override
    public boolean addpwd(UserPossword userpassword) {
        return userpasswordMapper.addpwd(userpassword);
    }
}
